package person;

public class person {
    public String name,gender;
    public int age;
    public person(String name,String gender,int age){
        this.name=name;
        this.gender=gender;
        this.age=age;
    }

    public person() {
    }

    public void print(){
        System.out.println("Person的输出");
        System.out.println("姓名: "+name+" 性别: "+gender+" 年龄: "+age);
    }

    public static void main(String[] args) {
        person person1 = new person("yzy","man",18);
        person1.print();
    }
}
